package com.sxdz.controller.service.order

import com.sxdz.controller.service.IBaseService
import com.sxdz.models.TOrderDetail

/**
 * Created by LiYan on 2016/8/3.
 */
interface IOrderDetailService extends IBaseService {
    /**
     * 按参数查询订单详细
     * @param params
     * @return
     */
    TOrderDetail findObj(Map<String, Object> params)

    /**
     * 按参数查询订单详细list
     * @param params
     * @return
     */
    List<TOrderDetail> findListByParams(Map<String, Object> params)
    /***
    * 删除订单详情
    * @param oederId
    * @return
    */
    int deleteOrder(Long orderId);
}